package org.example.entity.imple;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.entity.Shape;

@NoArgsConstructor
@Data
public class Rectangle implements Shape {
    @Override
    public void draw() {
        System.out.println("A rectangle has been drawn!");
    }

    @Override
    public void erase() {
        System.out.println("A rectangle has been erased!");
    }
}
